/**
 * 配合tool.js非本地环境打包时替换原来的localUtil.js，不然最终打包结果会把public_node_moudles项目的代码也给打进去
 * =================
 */
const funs = {
  getLocalVars() {
    const axios = require('axios');
    return new Promise(async resolve => {
      const result = await axios({
        url: '/sdv/localApi/getLocalVars',
      });
      resolve(result.data);
    });
  },
};

export const { getLocalVars } = funs;
